.home {
  width: 100%;
  height: 100%;
  overflow: auto;
  font-family: 'PingFang SC';
  font-weight: 500;
  background: url('@/assets/homePage.png') no-repeat;
  background-size: 100% 325px;
  background-position: left top;
  background-attachment: local;
  background-color:  #F8F8F8;

  &-common-title {
    font-size: 16px;
    line-height: 19px;
    color: #000;
    font-weight: bolder;
    padding: 16px 0 12px 20px;
    border-bottom: 1px solid #F3F3F3;
  }

  &-header {
    display: flex;
    justify-content:center;
    margin-top: 50px;
    &-img {
      width: 48px;
      height: 48px;
      background: url('@/assets/logo.png') no-repeat;
    }
    &-title {
      font-weight: 500;
      font-size: 32px;
      line-height: 46px;
      letter-spacing: 2px;
      color: #FFFFFF;
    }
    &-line {
      width: 1px;
      height: 28px;
      margin: 9px 16px 0 16px;
      background: linear-gradient(180deg, rgba(2, 198, 128, 0) 0%, rgba(2, 198, 128, 0.463542) 53.65%, rgba(2, 198, 128, 0) 100%);
    }
    &-description {
      margin-top: 10px;
      font-weight: 500;
      font-size: 24px;
      line-height: 28px;
      text-align: center;
      letter-spacing: 2px;
      color: #FFFFFF;
    }
  }

  &-search {
    display: flex;
    flex-direction:column;
    align-items: center;
    margin-top: 40px;
    &-type-1 {
      margin: 0 32px 9px 0px;
      display: flex;
      column-gap: 32px;
      &-style-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        .bk {
          width: 88px;
          height: 35px;
          background: #02C680;
          border-radius: 4px;
          cursor: pointer;
          .type-1 {
            padding: 3px 11px 4px 11px;
            font-weight: 500;
            font-size: 20px;
            text-align: center;
            letter-spacing: 2px;
            color: #FFFFFF;
          }
        }
        .sj{
          width:0;
          height:0;
          border:7px solid transparent;
          border-top-color:#02C680;
        }
      }
      &-style-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        .bk {
          width: 88px;
          height: 35px;
          background: transparent;
          border-radius: 4px;
          cursor: pointer;
          .type-1 {
            padding: 3px 11px 4px 11px;
            font-weight: 500;
            font-size: 20px;
            text-align: center;
            letter-spacing: 2px;
            color: #FFFFFF;
          }
        }
        .sj{
          width:0;
          height:0;
          border:7px solid transparent;
          border-top-color:transparent;
        }
      }
    }
    &-type-2 {
      margin: 0 32px 9px 0px;
      display: flex;
      column-gap: 32px;
      &-style-1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        .bk {
          width: 88px;
          height: 35px;
          background: transparent;
          border-radius: 4px;
          cursor: pointer;
          .type-1 {
            padding: 3px 11px 4px 11px;
            font-weight: 500;
            font-size: 20px;
            text-align: center;
            letter-spacing: 2px;
            color: #FFFFFF;
          }
        }
        .sj{
          width:0;
          height:0;
          border:7px solid transparent;
          border-top-color:transparent;
        }
      }
      &-style-2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        .bk {
          width: 88px;
          height: 35px;
          background: #02C680;
          border-radius: 4px;
          cursor: pointer;
          .type-1 {
            padding: 3px 11px 4px 11px;
            font-weight: 500;
            font-size: 20px;
            text-align: center;
            letter-spacing: 2px;
            color: #FFFFFF;
          }
        }
        .sj{
          width:0;
          height:0;
          border:7px solid transparent;
          border-top-color:#02C680;
        }
      }
    }
    .search-button {
      display: inline-block;
      text-align: center;
      padding: 7px 40px 9px 40px;
      background: #02C680;
      // box-shadow: 0 0 0 1px #02C680 unset;
      font-weight: 500;
      border-radius: 30px 30px 30px 30px;
      font-size: 16px;
      color: #ffffff;
      cursor: pointer;
      margin-left: 40px;
    }
  }

  :deep(.home-search) {
    .vc-input__wrapper {
      border-radius: 30px 30px 30px 30px;
      padding:0 0 0 24px;
    }
  }

  &-hot-modules {
    margin: auto;
    margin-top: 39px;
    width: 1120px;
    background: #FFFFFF;
    border-radius: 4px;
    &-info {
      display: flex;
      flex-wrap: wrap;
      padding-left: 20px;
      padding-bottom: 20px;
      & .hot-module {
        position: relative;
        box-sizing: border-box;
        width: 260px;
        height: 68px;
        background: rgba(2,198,128,0.05);
        border-radius: 4px 4px 4px 4px;
        border: 1px solid rgba(2,198,128,0.1);
        margin-top: 16px;
        margin-right: 13px;
        padding-left: 16px;
        display: flex;
        align-items: center;
        cursor: pointer;
        &:hover {
          box-shadow: 0px 0px 5px #F0F0F0;
        }

        & .vc-badge__wrapper::before {
          color: #02C680;
        }

        & .module {
          margin-left: 16px;
        }

        & .name {
          font-weight: 500;
          font-size: 14px;
          line-height: 16px;
          color: #333333;
          margin-bottom: 5px;
        }

        & .des {
          font-size: 12px;
          line-height: 14px;
          color: #666666;
          font-weight: 400;
        }
        & .img {

          position: absolute;
          left: 226px;
          top: 4px;
          width: 28px;
          height: 14px;
          background: url('@/assets/hot-1x.png') no-repeat;
        }
      }
    }
  }

  &-msg-company {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    // height: calc(100% - 660px);
    margin-top: 16px;
    margin-bottom: 16px;
  }

  &-new-msg {

    width: 700px;
    // height: 722px;
    background: #FFFFFF;
    border-radius: 4px;
    overflow: auto;
    opacity: 1;

    &-container {
      padding-left: 20px;
      padding-right: 20px;

      & .msg-item {
        border-bottom: 1px solid #f6f6f6;
        & .title {
          margin: 12px 0 12px 0;
          font-weight: 400;
          font-size: 16px;
          line-height: 22px;
          color: #111111;
          cursor: pointer;
        }

        & .label-groups {
          display: flex;
          font-weight: 400;
          font-size: 12px;
          padding-bottom: 12px;
          gap: 5px;
          & .company {
            height: 20px;
            background: rgba(0,142,244,0.1);
            border-radius: 2px 2px 2px 2px;
            opacity: 1;
            border: 0px solid rgba(0,142,244,0.3);
            text-align: center;
            padding: 3px 5px 3px 5px;
            font-size: 12px;
            font-weight: 400;
            color: #008EF4;
            line-height: 14px;
            cursor: pointer;
          }

          & .label {
            height: 20px;
            background: #F8F8F8;
            border-radius: 2px 2px 2px 2px;
            opacity: 1;
            text-align: center;
            padding: 3px 5px 3px 5px;
            font-size: 12px;
            font-weight: 400;
            color: #666666;
            line-height: 14px;
          }

          & .time-source {
            margin-left: auto;
            height: 14px;
            font-size: 12px;
            font-weight: 400;
            color: #999999;
            line-height: 14px;
            padding-top: 3px;
          }
        }
      }
    }
  }

  &-hot-company {
    width: 404px;
    // height: 600px;
    background: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
    opacity: 1;
    margin-left: 16px;
    overflow: auto;

    &-container {
      padding: 0 20px 15px 20px;
      & .company-item {
        font-weight: 400;
        font-size: 16px;
        color: #282828;
        border-bottom: 1px solid #F3F3F3;
        padding: 12px 0 12px 0;
        line-height: 22px;
        display: flex;
        align-items: center;
        cursor: pointer;

        & .font-icon {
          display: inline-block;
          width: 22px;
          height: 22px;
          line-height: 22px;
          font-size: 16px;
          color: #FFFFFF;
          text-align: center;
          margin-right: 12px;
          border-radius: 4px 4px 4px 4px;
        }
        & .company-name {
          width: calc(100% - 32px);
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
      }
    }
  }
}
